Learn R Programming

MRPC (version 2.0.0)

simu.data_starshaped : Data for Star Model

Description

Simulate data for the start model, where one gene has more than two children.

Arguments

Value

Matrix

Details

The column order of the input matrix is the genotype from Single-nucleotide polymorphism (SNPs), indels, copy number variation (CNV), or Expression quantitative trait loci (eQTL) to genes. If we consider one SNPs/CNV/indels/CNV/eQTL then the first column of the input matrix is the SNPs/CNV/indels/CNV/eQTL and the remaining columns are the gene expression data.

See Also

SimulatedData for simulated data generating function.

Examples

Run this code
# NOT RUN {
## Star Model
simu.data_starshaped <- SimulatedData(N = 10^3, p = 0.45,
                                      'starshaped', b0.1 = 0,
                                      b1.1 = 1, b1.2 = 1,
                                      b1.3 = 1, sd.1 = 1)
# }

Run the code above in your browser using DataLab